
package org.darcy.entity.base;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description="BaseDicType: 数据字典分类")
@TableName(value = "base_dic_type")
@Getter
@Setter
public class BaseDicType implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "主键")
	@TableId(type = IdType.AUTO)
	private Integer id;

	@Schema(description = "父节点id")
	@TableField(value = "`pid`")
	private Integer pid;

	@Schema(description = "名称")
	@TableField(value = "`name`")
	private String name;

	@Schema(description = "简称 code")
	@TableField(value = "`code`")
	private String code;

	@Schema(description = "排序")
	@TableField(value = "`order_no`")
	private Integer orderNo;

	@Schema(description = "")
	@TableField(value = "`create_time`")
	private Date createTime;

	@Schema(description = "")
	@TableField(value = "`update_time`")
	private Date updateTime;
	
	@Schema(description = "删除标识")
	@TableField(value = "`del_flag`")
	private Integer delFlag;

}
